package com.uqbar.asteroids.components;

import java.awt.Graphics2D;


public class RedBoom extends PlayerShip {
	 
	 public RedBoom(){
		 super(300,100,15,15,0,0);	 
	 }
	 
	public void render(Graphics2D graphics) {
		super.render(graphics);
	}
	 
	public void shoot(){
		if(this.getScene().getDisparos().size() == 0){
			this.getScene().agregarDisparo(new StandardShoot(this.getX(), this.getY(), 1));
		}else{
			CircleShoot disparo =	this.getScene().obtenerDisparo();
			disparo.setX(this.getX());
			disparo.setY(this.getY());
			disparo.setGrupo(1);
			disparo.activar();
		}
	}
	 
	 public void hasHit(){
      //cuando es impactado se calcula el daño del proyectil - defensa	 
	 }
	 

	
	 
}
